package com.maxjay.system.web.controller.struts;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.maxjay.system.core.cache.SystemDataHolder;

@Scope("prototype")
@Component("refreshCacheDataController")
public class RefreshCacheDataController extends BaseController {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	public String execute() throws Exception {
		SystemDataHolder.refresh();
		return SUCCESS;
	}

}
